package priv.stones.collections.list;

import java.util.LinkedList;
import java.util.List;

/**
 * @Author: Stones
 * @Description:
 * @Date: 2017/11/4 22:41
 */
public class LinkedList1 {

    public static void main(String[] args) {



        LinkedList<String> data = new LinkedList<String>();

        data.add("test1");
        data.add("test1");
        data.add("test1");
        data.add("test1");
        data.add("test1");
        data.add("test1");

        data.push("test000");
        data.push("test111");


        System.out.println(data);
        System.out.println(data.pop());

        System.out.println(data);



    }

}
